//
//  LoadDataFromNetWork.h
//  Alltelevisionnews
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 三人行. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SUCCESS_BLOCK) (id modelObject);
typedef void(^FAILURE_BLOCK) (NSError *error);

@interface SLLoadModelFromNetWork : NSObject

+ (void)loadModelWithIndex:(NSInteger)pageIndex success:(SUCCESS_BLOCK)successBlock failure:(FAILURE_BLOCK)failureBlock;

+ (id)convertToModelObject:(id)responseObject;

@end
